﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Livraria._Default" %>

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="hdPagina" runat="server">
    <title>Livraria</title>    
</head>
<body>
    <form id="frmLivraria" runat="server">
    <center>
    <h3>
        Livraria dos Caras</h3>
    <span id="Message" enableviewstate="false" runat="server" />
    <asp:DataGrid ID="dgLivraria" runat="server" Width="400" ShowFooter="false" >
        <Columns>
            <asp:EditCommandColumn EditText="Editar" UpdateText="Atualizar" CancelText="Cancelar" />
        </Columns>
    </asp:DataGrid>    
    <asp:HyperLink ID="hylAdicionar" runat="server" NavigateUrl="~/AdicionarProduto.aspx">Adicionar</asp:HyperLink>&nbsp;&nbsp;
    <asp:HyperLink ID="hylAlterar" runat="server" NavigateUrl="~/AlterarProduto.aspx">Alterar</asp:HyperLink>&nbsp;&nbsp;
    <asp:HyperLink ID="hylDeletar" runat="server" NavigateUrl="~/DeletarProduto.aspx">Deletar</asp:HyperLink>
    </center>
    </form>
</body>
</html>